#ifndef MYLOG_H
#define MYLOG_H

#include <QMainWindow>
#include <QSqlDatabase>
#include <QMessageBox>
#include <QSqlQuery>
#include "mainwindow.h"

namespace Ui {
class myLog;
}

class myLog : public QMainWindow
{
    Q_OBJECT

private slots:
    void on_pushButton_clicked();

public:
    explicit myLog(QWidget *parent = nullptr);
    ~myLog();

private:
    Ui::myLog *ui;

    QSqlDatabase m_db;//数据库对象
};

#endif // MYLOG_H
